namespace EduModel
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class W_Course
    {
        [Key]
        public int CourseId { get; set; }

        [StringLength(100)]
        public string CourseName { get; set; }

        public int? CourseFrom { get; set; }

        public int? CourseTypeId { get; set; }

        public int? GradeId { get; set; }

        public int? StudyId { get; set; }

        public int? VersionId { get; set; }

        public int? VolumeId { get; set; }

        public decimal? CoursePrice { get; set; }

        [StringLength(500)]
        public string CourseImg { get; set; }

        [StringLength(2000)]
        public string CourseDes { get; set; }

        [StringLength(2000)]
        public string CourseGoal { get; set; }

        [StringLength(2000)]
        public string CourseRang { get; set; }

        public int? CourseState { get; set; }

        public DateTime? CoursePubTime { get; set; }

        public int? CreateUserId { get; set; }

        public DateTime? CreateTime { get; set; }

        public int? SchoolId { get; set; }
    }
}
